package com.lxk.mall.pms.domain.vo.favorite;

import com.lxk.mall.pms.domain.PmsProductFavorite;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 商品收藏视图对象 pms_product_favorite
 *
 * @author Lion Li
 * @date 2024-06-06
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PmsProductFavorite.class)
public class PmsProductFavoriteVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 收藏编号
     */
    @ExcelProperty(value = "收藏编号")
    private Long id;

    /**
     * 用户编号
     */
    @ExcelProperty(value = "用户编号")
    private Long userId;

    /**
     * 商品 SPU 编号
     */
    @ExcelProperty(value = "商品 SPU 编号")
    private Long spuId;

    @ExcelProperty(value = "收藏时间")
    private Date createTime;


}
